package com.example.photoalbum.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.example.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 相册信息表
 * </p>
 *
 * @author Jiamingzhen
 * @since 2021-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("photoalbum")
public class Photoalbum extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 相册id
     */
    @TableId("id")
    private String id;

    /**
     * 相册名称
     */
    @TableField("albumName")
    private String albumName;

    /**
     * 相册类型
     */
    @TableField("albumType")
    private Integer albumType;

    /**
     * 照片id
     */
    @TableField("photoId")
    private Integer photoId;

    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;



}
